<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link href="/resource/bootstrap/css/bootstrap.css" rel="stylesheet">
<script type="text/javascript" src="/resource/js/jquery-3.2.1/jquery.js"></script>
<script type="text/javascript" src="/resource/js/jquery.validate.js"></script>
<script type="text/javascript" src="/resource/js/jqueryvalidate/localization/messages_zh.js"></script>
<title>注册</title>
</head>
<body>
	
	
	<div class="container" >	
		
		<div class="row" style="margin-top:150px">
			<div class="col-md-4"></div> 
			<div class="col-md-4" style="border: solid;padding: 10px ">
				
				<form:form id="form"  modelAttribute="user" method="post">
					
					<form:input  path="username"  />
					<form:errors path="username"></form:errors>
					<br>
					
					<form:password path="password" />
					<form:errors path="password"></form:errors>
					<br/>
					<form:button>登录</form:button>
				</form:form>
			</div>
			<div class="col-md-4"></div>
		</div>
		
	</div>
	<script type="text/javascript">
	/*   $("#form").validate(); */
	  
	</script>
	
</body>
</html>